package com.cslc.wechat.terminal.biz;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import com.cslc.wechat.common.bean.Terminal;
import com.cslc.wechat.test.BaseTestCase;

public class TerminalBiz_T extends BaseTestCase{

	private ITerminalBiz  terminalBiz;
	@Before
	protected void setUp() throws Exception {
		super.setUp();
		this.terminalBiz = (ITerminalBiz) super.applicationContext.getBean("terminalBiz");
	}
	@After
	protected void tearDown() throws Exception {
	}
	@Test
	public final void test_BindTerminal() {
		Terminal terminal = new Terminal();
		terminal.setTerminal_no("1234567");
		terminalBiz.bindTerminal(terminal, "openIDTestData");
	}
}
